#!/bin/bash

if [ -e /aid/rslsync/config/rslsync.btskey ]; then
    echo "rslsync.btskey exists"
else
    echo "rslsync.btskey not exists & copy"
    mkdir -p /aid/rslsync/config
    cp ~/server-tools/ambition/stacks/rslsync/rslsync.btskey /aid/rslsync/config/rslsync.btskey
fi

if [ -e /aid/rslsync/config/sync.conf ]; then
    echo "sync.conf exists"
else
    echo "sync.conf not exists & copy default"
    mkdir -p /aid/rslsync/config
    cp ~/server-tools/ambition/stacks/rslsync/sync.conf /aid/rslsync/config/sync.conf
fi